package com.bsi.core.fdfs;

/*
 * Author: liusongs
 * Date: 2020/1/9 11:53
 * Content: 上传后返回的结果
 */

public class FastResultVo {

    // 文件上传组
    private String group;

    // 文件上传在组的那个位置
    private String groupPath;

    // 文件访问路径可浏览器直接访问
    private String accessUrl;

    // 文件大小
    private Long fileSize;

    // 文件尾缀
    private String fileExt;

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getGroupPath() {
        return groupPath;
    }

    public void setGroupPath(String groupPath) {
        this.groupPath = groupPath;
    }

    public String getAccessUrl() {
        return accessUrl;
    }

    public void setAccessUrl(String accessUrl) {
        this.accessUrl = accessUrl;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileExt() {
        return fileExt;
    }

    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }

    public FastResultVo(String group, String groupPath, String accessUrl, Long fileSize, String fileExt) {
        this.group = group;
        this.groupPath = groupPath;
        this.accessUrl = accessUrl;
        this.fileSize = fileSize;
        this.fileExt = fileExt;
    }

    @Override
    public String toString() {
        return "FastResultVo{" +
                "group='" + group + '\'' +
                ", groupPath='" + groupPath + '\'' +
                ", accessUrl='" + accessUrl + '\'' +
                ", fileSize=" + fileSize +
                ", fileExt='" + fileExt + '\'' +
                '}';
    }
}
